package com.yida.gwj.config.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @Author: PPV
 * @Date: 2023-04-19
 */
@ApiModel("公维金附件配置请求")
public class GwjAttachmentConfigRequest {

    /**
     * 主键
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 区域ID
     */
    @NotNull(message = "区域ID不能为空")
    @ApiModelProperty("区域ID")
    private Long areaId;

    /**
     * 文件类型
     */
    @NotEmpty(message = "文件类型不能为空")
    @ApiModelProperty("文件类型")
    private List<Integer> types;

    /**
     * 业务类型
     */
    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty("业务类型")
    private Long serverType;

    /**
     * 状态 0:未启用 1:启用
     */
    @NotNull(message = "状态不能为空")
    @ApiModelProperty("状态 0:未启用 1:启用")
    private Long status;

    /**
     * 外部文件业务标识  bizFlagId
     */
    @NotBlank(message = "外部文件业务标识不能为空")
    @ApiModelProperty("外部文件业务标识")
    private String outServerIdentification;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public List<Integer> getTypes() {
        return types;
    }

    public void setTypes(List<Integer> types) {
        this.types = types;
    }

    public Long getServerType() {
        return serverType;
    }

    public void setServerType(Long serverType) {
        this.serverType = serverType;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public String getOutServerIdentification() {
        return outServerIdentification;
    }

    public void setOutServerIdentification(String outServerIdentification) {
        this.outServerIdentification = outServerIdentification;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
